/*
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.schema.domain.thing.creativeWork;

import org.schema.domain.Thing;
import org.schema.domain.thing.CreativeWork;
import org.schema.domain.thing.intangible.Rating;

/**
 * A review of an item - for example, a restaurant, movie, or store.
 */
public interface Review extends CreativeWork {

	/**
	 * The item that is being reviewed/rated.
	 *
 	 * @return Thing
	 */
	Thing getItemReviewed();

	/**
	 * The item that is being reviewed/rated.
	 *
 	 * @param thing
	 * @return void
	 */
	void setItemReviewed(Thing thing);

	/**
	 * The actual body of the review
	 *
 	 * @return String
	 */
	String getReviewBody();

	/**
	 * The actual body of the review
	 *
 	 * @param string
	 * @return void
	 */
	void setReviewBody(String string);

	/**
	 * The rating given in this review. Note that reviews can themselves be rated. The reviewRating applies to rating given by the review. The aggregateRating property applies to the review itself, as a creative work.
	 *
 	 * @return Rating
	 */
	Rating getReviewRating();

	/**
	 * The rating given in this review. Note that reviews can themselves be rated. The reviewRating applies to rating given by the review. The aggregateRating property applies to the review itself, as a creative work.
	 *
 	 * @param rating
	 * @return void
	 */
	void setReviewRating(Rating rating);

}